import { BasicColumn } from '/@/components/Table';
export const weekColumns: BasicColumn[] = [
  {
    title: '周报表',
    dataIndex: 'date',
  },
  {
    title: '简历',
    dataIndex: 'resumeSubmitNum',
  },
  {
    title: '待面',
    dataIndex: 'arrivalScheduledNum',
  },
  {
    title: '到面',
    dataIndex: 'arrivalAcceptedNum',
  },
  {
    title: '过面',
    dataIndex: 'interviewAcceptedNum',
  },
  {
    title: '待培',
    dataIndex: 'trainingScheduledAcceptedNum',
  },
  {
    title: '到培',
    dataIndex: 'trainingArrivalAcceptedNum',
  },
  {
    title: '过培',
    dataIndex: 'assessmentAcceptedNum',
  },
  {
    title: '待入职-待签',
    dataIndex: 'waitSignedNum',
  },
  {
    title: '待入职-已签',
    dataIndex: 'onBoardingNum',
  },
  {
    title: '离职',
    dataIndex: 'confirmedDeclinedNum',
  },
  {
    title: '劝退',
    dataIndex: 'probationFailedNum',
  },
  {
    title: '在职',
    dataIndex: 'workingNum',
  },
  {
    title: '在岗-未请长假',
    dataIndex: 'onDutyNum',
  },
  {
    title: '已带课',
    dataIndex: 'leadTeacherNum',
  },
]
export const monthColumns: BasicColumn[] = weekColumns.map((el, idx) => {
  if (idx == 0) {
    return {
      title: '月报表',
      dataIndex: 'date',
    }
  }
  return el
})
export const rateColumns: BasicColumn[] = [
  {
    title: '环节',
    dataIndex: 'label',
    width: 100,
  },
  {
    title: '区域',
    children: [
      {
        title: '一部',
        dataIndex: '一部',
        width: 100,
      },
      {
        title: '二部',
        dataIndex: '二部',
        width: 100,
      },
      {
        title: '三部',
        dataIndex: '三部',
        width: 100,
      },
      {
        title: '四部',
        dataIndex: '四部',
        width: 100,
      },

    ],
  },
  {
    title: "高校类型",
    children: [
      {
        title: 'C9',
        dataIndex: 'C9',
        width: 100,
      },
      {
        title: 'A',
        dataIndex: 'A类',
        width: 100,
      },
      {
        title: 'B',
        dataIndex: 'B类',
        width: 100,
      },
      {
        title: 'C',
        dataIndex: 'C类',
        width: 100,
      },
    ]
  },
  {
    title: '性别',
    children: [
      {
        title: '男性',
        dataIndex: '男',
        width: 100,
      },
      {
        title: '女性',
        dataIndex: '女',
        width: 100,
      },
    ],
  },
];

